#include <iostream>
#include <algorithm>
using namespace std;
int main()
{
  double a = 1.0 * 343720 * 2 * 7800;
  double b = 1.0 * 233333 * 2 * 6001;
  cout << sqrt(a * a + b * b) << endl;
  return 0;
}
